home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_1
/
dman_300.zip
/
DMV2-V3.DOC
< prev
next >
Wrap
Text File
|
1992-11-15
|
3KB
|
63 lines
-=*> DoorMan v2 to v3 Conversion Utility <*=-
This program will read your DoorMan v2 .CAT file and create v3
.DAT files. Before you run it, you *MUST* run DoorEdit and enter
the defaults. Once you have entered the defaults, and are at the
Main Menu, Exit the program and run this utility.
The only question it'll ask is the location of DoorMan v2.01,
everything else is automatic. What's it going to do? Well, it
does this:
1. Reads you defaults from the DoorMan.Def file.
2. It reads your DoorMan1.Cfg file.
2. Reads your current DoorMan.Cat file and counts the
number of categories and doors.
3. For each category, it takes the data from the .CAT
file, adds the defaults you've specified, and writes
the result to a file called DMCATS.DAT.
3. For each door, it takes the data from the .CAT file,
adds the defaults you've specified, and writes the
result to a file called DMDOORS.DAT
4. Also for each door, it takes your doorbats directory
(read from the config), adds the Bat file name for that
door, then tries to locate the file. If it finds the
file, it then reads the file, interpolates the doors
directory (from the first CD command), strips out any
Echo or Exit commands, looks for any node specific
commands (1.CFG, %wcnodeid%, NODE1, and NODE2) replaces
them with @n, and writes all the info to a file called
DBatCmds.DAT. This single file will replace ALL your
your door bat files! When DoorMan goes to run a door,
it will create a bat file to change to the door's
directory, execute whatever commands it found in the
bat file, then change directory back. If this works
properly (it does with all the doors on my system) it
will completely eliminate creating door batch files!
Be *SURE* to double check the Run Commands for each
door just in case!
If the program completes successfully, you're in good shape. If
not, send me a copy of the file it died on, ie your DoorMan.CAT,
and the .BAT file for the door it was converting. That will
allow me to find out why it died, and fix it!
When your adding/editing doors, and you need a "node specific"
command. you can put @n in the run command. Any time DoorMan
comes across that in a run command, it will replace it with the
current Node Number. ie if you've got xxxx1.CFG and xxxx2.CFG
now, just put xxxx@n.CFG and it should work fine.
Now, unless an error occurred, you're all done with the
conversion! All that's left to do is to change the file that
calls DoorMan so that it calls DoorMan v3. You should be able to
just change the directory name, kill the config file name (not
needed), and add the node number. In other words, DoorMan v3 is
called as follows:
DOORMAN <node number>
It will use the information in the .DEF file to decide what to do
based on the Node Number.